/* eslint-disable @typescript-eslint/no-explicit-any */
// src/api/permission.ts
import http from "./request";
import { Menu } from "../types/api";

export const getMenu = (data: any): Promise<Menu> => {
  return http.request({
    url: "/permission/getMenu",
    method: "post",
    data,
  });
};
